<?php
namespace App;
//require 'func/helper.php';
use func\Model\Order\Order;
use func\Model\Order\Pay;
require 'aotoload/boot.php';

//require 'Model/Order/Order.php';
//require 'Model/Order/Pay.php';
//function factory($class){
//    return __NAMESPACE__.'\\'.$class;
//}

//class User{
//    public static function make(){
//        return __METHOD__;
//    }
//}

//class Order{
//    public static function make(){
//        return __METHOD__;
//    }
//}

//echo __NAMESPACE__;
//echo factory('Order');//APP\Order
//echo namespace\Order::make();

#使用命名空间关键子
//echo namespace\Order::make();

//echo \func\min();
//
//echo Order::orderCount();
//echo '<hr/>';
echo (new Pay())->pay();